package Day01;

import java.util.Arrays;

/**
 * @author feng
 * @Date 2021/9/24 8:46
 */
public class Test01 {
    public static void main(String[] args) {
        /*String s = "123 abc";
        int length = s.length();
        System.out.println(length);
        System.out.println(s.substring(4,7));
        System.out.println(s.indexOf('a'));
        System.out.println(s.indexOf("abc"));*/
        //字符串的以指定格式连接
      /*  String joined = String.join("/","user","local","bin");
        System.out.println(joined);
        String s = String.join("-","春","夏","秋","冬");
        System.out.println(s);*/
      // 字符串的拼接
        String ss = "Hello,World!";
        ss.split(",");
        System.out.println(ss);





    }
}
